import { request } from "@/api/service.js"
/**
   * @description 获取校园楼栋
   * @param {Object} data 
   */
export function getComSchoolBuilding (data = {}){
  // 接口请求
  return request({
    url: '/comSchoolBuilding/getComSchoolBuilding',
    method: 'post',
    data: data
  })
}
/**
   * @description 获取校园楼栋(后台)
   * @param {Object} data 
   */
export function getComSchoolBuildingBack (data = {}){
    // 接口请求
    return request({
      url: '/comSchoolBuilding/getComSchoolBuildingBack',
      method: 'post',
      data: data
    })
 }
/**
   * @description 添加校园楼栋
   * @param {Object} data 
   */
export function addComSchoolBuilding (data = {}){
    // 接口请求
    return request({
      url: '/comSchoolBuilding/addComSchoolBuilding',
      method: 'post',
      data: data
    })
 }
/**
   * @description 修改校园楼栋
   * @param {Object} data 
   */
export function updateComSchoolBuilding (data = {}){
    // 接口请求
    return request({
      url: '/comSchoolBuilding/updateComSchoolBuilding',
      method: 'post',
      data: data
    })
 }
 /**
   * @description 冻结校园楼栋
   * @param {Object} data 
   */
export function freezeComSchoolBuilding (data = {}){
    // 接口请求
    return request({
      url: '/comSchoolBuilding/freezeComSchoolBuilding',
      method: 'post',
      data: data
    })
 }
 /**
   * @description 解冻校园楼栋
   * @param {Object} data 
   */
 export function thawComSchoolBuilding (data = {}){
    // 接口请求
    return request({
      url: '/comSchoolBuilding/thawComSchoolBuilding',
      method: 'post',
      data: data
    })
 }